﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	//2010-1-11

    config.toolbar = "BlogArticleEditBar";  //指定默认工具栏  
    //声明一个工具栏        
    config.toolbar_BlogArticleEditBar =       
       [['Format','Font','FontSize','-','TextColor','BGColor','-','Bold','Italic','Underline','Strike','Subscript','Superscript','NumberedList','BulletedList'],  
         '/',  
        ['Undo','Redo','Cut','Copy','Paste','PasteText','PasteFromWord'],  
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','Outdent','Indent','Blockquote'],  
        ['Link','Unlink','Anchor','Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],  
       ['Source','-','Maximize']  
       ];  
    //加入中文字体  
    //config.font_names='宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;'+ config.font_names;  

	config.filebrowserBrowseUrl = '/2010admin/ckeditor/ckfinder/ckfinder.html';
	config.filebrowserImageBrowseUrl = '/2010admin/ckeditor/ckfinder/ckfinder.html?Type=Images';
	config.filebrowserFlashBrowseUrl = '/2010admin/ckeditor/ckfinder/ckfinder.html?Type=Flash';
	config.filebrowserUploadUrl = '/2010admin/ckeditorckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Files';
	config.filebrowserImageUploadUrl = '/2010admin/ckeditor/ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Images';
	config.filebrowserFlashUploadUrl = '/2010admin/ckeditor/ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Flash';
	config.filebrowserWindowWidth = '800';
	config.filebrowserWindowHeight = '500';

};
